﻿@model AlmaDatabase.Product
@{
    ViewContext.Controller.ViewBag.Breadcrumb.Enter("Mon profil", "Edit", "User", new { id = Session["UserId"] });
    ViewContext.Controller.ViewBag.Breadcrumb.Enter("Suppression d'un produit");
}
<div class="fullcol">
    <h1>
        Etes vous sûre de vouloir supprimer ce produit?</h1>
    <table>
        <tr>
            <th>
                Nom
            </th>
            <th>
                Description
            </th>
        </tr>
        <tr>
            <td>@Model.Name
            </td>
            <td>@Model.Description
            </td>
        </tr>
    </table>
    @* <div class="display-label">ID_Section</div>
    <div class="display-field">@Model.ID_Section</div>

    <div class="display-label">ID_Shop</div>
    <div class="display-field">@Model.ID_Shop</div>


    <div class="display-label">ImgUrl</div>
    <div class="display-field">@Model.ImgUrl</div>*@
    @using (Html.BeginForm())
    {
        <p>
            <input type="submit" value="Supprimer" />
        </p>
    }
    <div>
        @Html.ActionLink("Retour au profil", "Edit", "User", new { id = Session["UserId"] }, null)</div>
</div>
